#ifndef UTILS_HPP
#define	UTILS_HPP

#include <iostream>
#include "variables.hpp"

using namespace std;

#define BIN 0
#define HEX 1
#define ASCII 2

class utils
{
	public:

		static void mapArray (char* pArr, int pLeng, int pBase);

	private:

		static void mapArray_bin(char* pArr, int pLen);
		static void mapArray_hex(char* pArr, int pLen);
		static void mapArray_dec(char* pArr, int pLen);
		static void mapArray_ascii(char* pArr, int pLen);
};

#endif
